package com.example.myapplication.view.slide;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.drawerlayout.widget.DrawerLayout;

/**
 * @description:
 * @author: wangrongfeng
 * @create: 2023-05-09 09:27
 **/
public class LiveDrawerLayout extends DrawerLayout {
    public LiveDrawerLayout(@NonNull Context context) {
        super(context);
    }

    public LiveDrawerLayout(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public LiveDrawerLayout(@NonNull Context context, @Nullable AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    public boolean onTouchEvent(MotionEvent ev) {
        System.out.println("sssss "  + ev.getAction());
        return super.onTouchEvent(ev);
    }
}
